<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/11/2
  Time: 21:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="${pageContext.request.contextPath}/assets/images/favicon.png" type="image/png">
    <title>用户列表</title>

    <!--Begin  Page Level  CSS -->
    <link href="${pageContext.request.contextPath}/assets/plugins/morris-chart/morris.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/assets/plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet"/>
    <!--End  Page Level  CSS -->
    <link href="${pageContext.request.contextPath}/assets/css/icons.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/assets/css/style.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/assets/css/responsive.css" rel="stylesheet">
    <style>
        .div1 {
            width: 20px;
            height: 20px;
            border-radius: 20px;
            border: 2px solid black;
            line-height: 16px;
            text-align: center;
            color: black;
            display: inline-block;
            position: relative;
            left: 30%;
            margin-right: 150px;
            margin-bottom: 30px;
        }

        .span1 {
            position: relative;
            left: 28%;
            margin-right: 80px;
            margin-bottom: 30px;
            display: inline-block;
        }

        .button1 {
            position: relative;
            left: 40%;
        }


    </style>
</head>

<body class="sticky-header">


<jsp:include page="../inc/left.jsp"/>


<!-- main content start-->
<div class="main-content">

    <jsp:include page="../inc/header.jsp"/>


    <!--body wrapper start-->
    <div class="wrapper">

        <!--Start Page Title-->
        <div class="page-title-box">
            <h4 class="page-title">商品添加</h4>
            <ol class="breadcrumb">
                <li>
                    <a href="#">首页</a>
                </li>
                <li>
                    <a href="#">商品</a>
                </li>
                <li class="active">
                    商品添加
                </li>
            </ol>
            <div class="clearfix"></div>
        </div>
        <!--End Page Title-->


        <!--Start row-->
        <div class="row">
            <div class="col-md-12">
                <div class="white-box">
                    <br>
                    <div class="div1" style="border-color: green;color: green">1</div>

                    <div class="div1">2</div>
                    <div class="div1">3</div>
                    <br>
                    <span class="span1" style="color: green">填写商品信息</span>
                    <span class="span1">填写商品促销</span>
                    <span class="span1">填写商品属性</span>
                    <form class="form-horizontal" action="${pageContext.request.contextPath}/goods/productAttribute"
                          method="post"  enctype="multipart/form-data">
                        <div class="form-group">
                            <label class="col-md-2 control-label">赠送积分:</label>
                            <div class="col-md-10">
                                <input class="form-control" name="giftPoint" value="" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="div3 col-md-2 control-label">赠送成长值:</label>
                            <div class="col-md-10">
                                <input class="form-control" name="giftGrowth" value="" type="text">
                            </div>
                        </div>
                        <div class="form-group" >
                            <label class="col-md-2 control-label">
                                <span style="color:red">*</span>   商品图片：
                            </label>
                            <div class="formControls col-xs-8 col-sm-9">
                                <input type="file" class="imgUpload" accept="image/jpg,image/png,image/jpeg"
                                       tip="" red-tip="" upload-num="1" init-val="" upload-type="4"
                                       name="file"/>
                                <p style="color:gray"></p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-2 control-label">积分购买限制:</label>
                            <div class="col-md-10">
                                <input class="form-control" name="usePointLimit" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword" class="col-md-2 control-label">预告商品：</label>
                            <div class="col-sm-6">
                                <select id="inputPassword" name="previewStatus" style="width: 300px"
                                        class="form-control">
                                    <option value="0">不是</option>
                                    <option value="1">是</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input" class="col-md-2 control-label">商品上架：</label>
                            <div class="col-sm-6">
                                <select id="input" name="publishStatus" style="width: 300px" class="form-control">
                                    <option value="0">下架</option>
                                    <option value="1">上架</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input2" class="col-md-2 control-label">商品新旧：</label>
                            <div class="col-sm-6">
                                <select id="input2" name="newStatus" style="width: 300px" class="form-control">
                                    <option value="0">不是新品</option>
                                    <option value="1">新品</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input3" class="col-md-2 control-label">商品推荐：</label>
                            <div class="col-sm-6">
                                <select id="input3" name="recommandStatus" style="width: 300px" class="form-control">
                                    <option value="0">不推荐</option>
                                    <option value="1">推荐</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input4" class="col-md-2 control-label">服务保证：</label>
                            <div class="col-sm-6">
                                <select id="input4" name="serviceIds" style="width: 300px" class="form-control">
                                    <option value="1">无忧退货</option>
                                    <option value="2">快速退货</option>
                                    <option value="3">免费包邮</option>
                                </select>
                            </div>
                        </div>

                            <div class="form-group">
                                <label class="col-md-2 control-label">详细页标题:</label>
                                <div class="col-md-10">
                                    <input class="form-control" name="detailTitle" value="" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-2 control-label">详细页描述:</label>
                                <div class="col-md-10">
                                    <input class="form-control" name="detailDesc" value="" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-2 control-label">商品关键字:</label>
                                <div class="col-md-10">
                                    <input class="form-control" value="" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-2 control-label">商品备注:</label>
                                <div class="col-md-10">
                                    <input class="form-control" name="note" value="" type="text">
                                </div>
                            </div>
                            < <div class="form-group">
                        <label for="input5" class="col-md-2 control-label">选择优惠方式：</label>
                        <div class="col-sm-6">
                            <select id="input5" name="promotionType" style="width: 300px" class="form-control">
                                <option value="0">无优惠</option>
                                <option value="1">特惠促销</option>
                                <option value="2">会员价格</option>
                                <option value="3">阶梯价格</option>
                                <option value="4">满减价格</option>
                                <option value="5">限时购</option>
                            </select>
                        </div>
                    </div>
                        <button type="submit" class="button1 btn btn-success round">下一步,填写商品属性</button>
                    </form>
                    <form class="form-horizontal" action="${pageContext.request.contextPath}/goods/productAdd"
                          method="post">
                        <button type="submit" class="button1 btn btn-success round">上一步,填写商品信息</button>

                    </form>
                </div>
            </div>
        </div>
        <!--End row-->
    </div>
    <!-- End Wrapper-->


    <jsp:include page="../inc/footer.jsp"/>

</div>
<!--End main content -->


<!--Begin core plugin -->
<script src="${pageContext.request.contextPath}/assets/js/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/assets/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/assets/plugins/moment/moment.js"></script>
<script src="${pageContext.request.contextPath}/assets/js/jquery.slimscroll.js "></script>
<script src="${pageContext.request.contextPath}/assets/js/jquery.nicescroll.js"></script>
<script src="${pageContext.request.contextPath}/assets/js/functions.js"></script>
<!-- End core plugin -->

</body>
</html>
